package cn.kimming.service.impl;

import cn.kimming.common.pojo.Role;
import cn.kimming.mapper.RoleMapper;
import cn.kimming.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 刘铭轩
 * date 2021-05-23
 */
@Service
@Transactional
public class RoleServiceImpl implements IRoleService {
    @Autowired
    private RoleMapper roleMapper;
    @Override
    public List<Role> findOptions() {
        return roleMapper.findOptions();
    }
}
